package com.john.bms.model.system.menu;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author:张家小帅哥
 * @Date:2020/12/3 9:40
 * @Version:1.0
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuTreeBO {

    private String id;

    /**
     * 菜单名称
     */
    private String title;

    /**
     * 路径地址
     */
    private String path;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 父类id
     */
    private String parentId;

    private String shiroKey;

    private int hasChildren;

    /**
     * 是否显示0显示1不显示
     */
    private boolean hidden;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 组件类型
     */
    private String component;

    /**
     * 菜单类型
     */
    private String type;

    private Date createTime;

    private MetaBO meta;

    private boolean alwaysShow = true;

    private List<ChildernBO> children;

    private static final long serialVersionUID = 1L;

}
